package com.lanou.mapper;

import com.lanou.pojo.PaymentDepositEntity;
import com.lanou.pojo.PaymentMethod;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface securityDeposit {
    public List<PaymentDepositEntity> paymentDepositList(@Param("resourceName") String resourceName,@Param("feeUser") String feeUser,@Param("state") String state,@Param("feeItemName") String feeItemName,@Param("payType") String payType);

    public void addPaymentDeposit(@Param("id") String id, @Param("resourceId") String resourceId, @Param("resourceName") String resourceName, @Param("feeUser") String feeUser, @Param("feeItemName") String feeItemName, @Param("payType") String payType, @Param("amt") String amt,@Param("operateTime") Date operateTime,@Param("feeItemId")String feeItemId);

    public void  updateByid(@Param("refundTime")Date refundTime,@Param("remark") String remark,@Param("refundType") String refundType,@Param("id") String id);

    public List<PaymentMethod> selectPayMethod();
    public List<String> paymentContract();
}
